package com.wwj.study.adapter;

/**
 * @Author: wuweijun
 * @Date: 2018/11/20 15:09
 */
public class LoginWeiXin implements ILogin {

    private Login login;

    public LoginWeiXin(Login login){
        this.login=login;
    }

    @Override
    public void login(String openId) {

        System.out.println("这里是微信登录");

        Member member=new Member();
        member.setUserName(openId);
        member.setPassWord(null);

        login.toLogin(member);
    }
}
